package ua.kharkov.knure.dereza.summarytask4.db.dto;

import java.io.Serializable;

/**
 * Data transfer object for card's currency that we receive from DB.
 * 
 * @author dereza
 * 
 */
public class CurrencyDTO implements Serializable{
	
	private static final long serialVersionUID = -7885975995026510713L;

	private int id;

	private String abbreviation;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAbbreviation() {
		return abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

	@Override
	public String toString() {
		return "CurrencyDTO [id=" + id + ", abbreviation=" + abbreviation + "]";
	}
}